package com.hou.eduorder.client;

import com.hou.commonutils.ordervo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author shkstart
 * @create 2021-12-08-16:13
 */
@Component
@FeignClient("service-edu")
public interface EduClient {
    // 根据课程id查询课程信息
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{id}")
    public CourseWebVoOrder getCourseInfoOrder (@PathVariable("id") String id);
}
